package com.yitiao.demo100;

/**
 * 打印九九乘法表
 */
public class question_12 {
    public static void main(String[] args) {
        //打印行
        for (int i = 9; i >=1; i--) {
            //打印列
            for (int j = 1; j <= i; j++) {
                //打印但不换行 System.out.print 没有ln
                System.out.print(j+ "x" + i + "=" + i * j + " ");
            }
            // 换行
            System.out.println();
        }
    }
}
